<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta content="text/html" charset="UTF-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>系统开发接口在线测试</title>
    <link rel="stylesheet" href="//cdn.bootcss.com/jquery-mobile/1.4.2/jquery.mobile.min.css" />
    <script src="http://cdn.bootcss.com/jquery/1.11.2/jquery.min.js"></script>
    <script src="//cdn.bootcss.com/jquery-mobile/1.4.2/jquery.mobile.min.js"></script>
</head>
<body>
<div data-role="page" class="type-index content-primary">
    <div data-role="header">
        <h2>接口调试列表</h2>
    </div>
    <div data-role="content">
        <ul data-role="listview">
        <?php foreach($apiList as $val):?>
            <li data-icon="gear">
                <a href="<?= $val['do'] ?>">
                    <?= $val['name'] ?>&nbsp;&nbsp;&nbsp;
                    <?= $val['title'] ?>&nbsp;&nbsp;&nbsp;
                    <?= $val['url'] ?>&nbsp;&nbsp;&nbsp;
                </a>
            </li>
        <?php endforeach;?>
        </ul>
    </div>
    <div data-role="footer" data-position="fixed">
        <div data-role="navbar">
            <ul>
                <li><a href="{:U('index')}">文档</a></li>
                <li><a href="{:U('apiList')}?>" class="ui-btn-active">在线调试</a></li>
            </ul>
        </div>
    </div>
</div>
<script>
    $(document).ready(function() {
        jQuery.mobile.ajaxEnabled = false;
    });
</script>

</body>
</html>
